package com.hhw.service;

import com.hhw.dao.DelUserDao;

public class DelUserService {
			

	 //实例化数据访问层
	DelUserDao pd=new DelUserDao();
	
	 /*
	  * * 验证用户删除方法	
	  */
	public boolean deleteUser(int user_id){
		if(pd.isExist(user_id)){
			pd.deleteUserByid(user_id);
			return true;
		}else{
			return false;
		}
	}
	
	
}
